<template>
	<div>
		<Edit ref="edit" @goto-list="gotoList" />
		<MkDrawer title="" v-model="showDrawer" :with-header="false" size="80%" :headerStyle="{ display: 'none' }">
			<List @goto-edit="gotoEdit" ref="list" />
		</MkDrawer>
	</div>
</template>
<script lang="ts" setup>
// 输血申请模块
// 单表List基本操作
import useIndexMastControls from '/@/hooks/useIndexMastControls'
import Edit from './edit.vue';
import List from './list.vue';

defineOptions({
	name: 'traXueXingFuHe',
});
/**
 * 组件实例
 */
const refs = reactive({
	edit: undefined,
	list: undefined
})
const { edit, list } = toRefs(refs)
const { showDrawer, gotoList, gotoEdit } = useIndexMastControls(edit, list);
</script>
<style lang="scss" scoped></style>
